<template>
  <div>
      <mc-scroll-config :data="data" @save-data="saveData"></mc-scroll-config>
      <el-button @click="print">打印</el-button>
  </div>
</template>

<script>
import McScrollConfig from './components/McScrollConfig'
export default {
    data(){
      return {
          data:null
		  }
    },
    components:{
      McScrollConfig,
    },
    methods:{
        print(){
            console.log(this.data)
        },
        saveData(val){
            console.log(val);
        }
    }
}
</script>

<style>

</style>
